Skip to content

Red control for #2679: tests without the change (do not merge) - #2680

Draft
jonathan308 wants to merge 15 commits into
fix/gemma-string-first-union-v9-coldfrom
test/gptoss-raw-tool-schema-red
Draft

jonathan308 wants to merge 15 commits into
fix/gemma-string-first-union-v9-coldfrom
test/gptoss-raw-tool-schema-red

Conversation

@jonathan308

@jonathan308 jonathan308 commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Red control for #2679: the same tests with the GPT-OSS render switched back to the repaired tools (do not merge). GPTOSSToolSchemaRender.renderedTools returns the prepared tools and changesRender returns false; nothing else differs.

Expected result

CI fails exactly at the new expectations that need the change: the as-written renders and the oneOf union, the other-families check's GPT-OSS line, the corpus's "some change" count, served cold, the local API, the prompt-token floor, the template utility (GPT-OSS and Gemma), and (where the prompt-parity job runs) the pinned GPT-OSS case set. The corpus inertness, single-type declarations and auto tool grammar tests pass, as on #2679.

Test plan

  • CI (dev) on this head fails only at the expectations above.

Components touched

  • provider-swift (Swift CLI)

Protocol / interface changes

  • No protocol/interface changes

Documentation impact

  • No documentation needed — reason: red control, not for merge.

Run Proof
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

GPT-OSS's Harmony template prints a type list as a union, a oneOf as the
union of its members and a node without a type as any. The shared schema
repair gave each such node one type (the first member's or string), so the
model was told string for numbers, booleans, objects and {}.

GPT-OSS now renders each tool's parameters from the body's own declaration
through the repair without the types it invents. A tool that this leaves as
the repair leaves it keeps its prepared tool, so a body whose tools arrive
already repaired renders byte-identically. Normalization v9 still plans the
repaired prompt, so a coordinator request whose GPT-OSS render changed is
served without the prompt cache (promptCacheSkippedToolRawSchema).
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
d-inference-landing Ready Ready Preview Nov 24, 2026 4:00pm UTC
darkbloom-status Ready Ready Preview Nov 24, 2026 4:00pm UTC
eigen-homepages-darkbloom Ready Ready Preview Nov 24, 2026 4:00pm UTC

Request Review

…cold' into fix/gptoss-raw-tool-schema

# Conflicts:
#	provider-swift/Sources/ProviderCore/ProviderLogger.swift
#	provider-swift/Sources/ProviderCore/ProviderLoop+InferenceHandler.swift
#	provider-swift/Tests/ProviderCoreTests/Inference/Prompting/ProductionPromptParityTests.swift
The template utility (/tokenize's applyTemplate) renders the body's tools
unrepaired. For GPT-OSS it now renders each through the repair without its
render types, as the served prompt does, so its count matches.
applyTemplate renders the body's tools for /tokenize. Gemma's invariant 8
(a property declared without a type renders untyped) reads the
declarations; without them the utility counted STRING where the served
prompt renders an empty type.
@jonathan308 jonathan308 added the run-ci Trigger one-shot PR CI run (auto-removed when run starts) label Nov 24, 2026
@github-actions github-actions Bot removed the run-ci Trigger one-shot PR CI run (auto-removed when run starts) label Nov 24, 2026
…d ids

The served-cold check for another family used a GPT-OSS build id with a
Qwen model type. The family is selected by build id and model type, as the
Harmony template path selects it; use each family's own id.

This branch was successfully deployed

3 active deployments
Preview – d-inference-landing — 14e0344c Deployed Nov 24, 2026 by vercel[bot]
Preview – eigen-homepages-darkbloom — 14e0344c Deployed Nov 24, 2026 by vercel[bot]
Preview – darkbloom-status — 14e0344c Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant